<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title>QQ注册</title>
	</head>
	<body>
		<form>
		<table border="0" width="100%" cellspacing="20">
			<tr><td><img src="img/bg_chs.png" width="100%"/></td></tr>
			<tr><td height="5"><h2>注册账号</h2></tb></tr>
			<tr><td><label>昵称</label >&nbsp;&nbsp;<input required pattern="[-\w\u4E00-\u9FA5]{4,10}" maxlength="10"/>长度为4-10个字符</td></tr>
			<tr><td><label for="password">密码</labe>&nbsp;&nbsp;<input type="password" id="password" required pattern="[\dA-Za-z]{6,16}" maxlength="16"/>&nbsp;&nbsp;长度为6-16个字符</td></tr>
			<tr><td><label for="password2">确认密码</label>&nbsp;&nbsp;<input type="password" id="password2" required pattern="[\dA-Za-z]{6,16}" maxlength="16"/>&nbsp;&nbsp;长度为6-16个字符</td></tr>
			<tr><td><label for="tel">手机号码</label>&nbsp;&nbsp;<input type="text" id="tel" required pattern="1[3578]\d{9}" maxlength="11"/>&nbsp;&nbsp;密码长度为11位，以13|5|7|8开头</td></tr>
			<tr><td><label for="email">邮箱</label>&nbsp;&nbsp;<input type="email" id="email" required/></td></tr>
			<tr><td><label for="age">年龄</label>&nbsp;&nbsp;<input type="text" id="age"  maxlength="3" required pattern="\d|[1-9]\d|1[0-2]\d"/></td></tr>
			<tr><td><input type="image" src="img/btn.bmp" /> </td></tr>
		</table>
		</form>
	</body>
</html>
